<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNewStore.aspx.cs" Inherits="AddNewStore" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>Add a store location</h2>
        <table>
            <tr>
                <td>Store Location Name  (length: 50)</td>
                <td><asp:TextBox runat="server" ID="locationNameTextBox"></asp:TextBox><asp:RequiredFieldValidator runat="Server" ID="RequiredFieldValidator4" ErrorMessage="*" ControlToValidate="locationNameTextBox"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>Address (length: 50)</td>
                <td><asp:TextBox runat="server" ID="addressTextBox"></asp:TextBox><asp:RequiredFieldValidator runat="Server" ID="RequiredFieldValidator3" ErrorMessage="*" ControlToValidate="addressTextBox"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>City (length: 50)</td>
                <td><asp:TextBox runat="server" ID="cityTextBox"></asp:TextBox><asp:RequiredFieldValidator runat="Server" ID="RequiredFieldValidator2" ErrorMessage="*" ControlToValidate="cityTextBox"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>State (length: 2)</td>
                <td><asp:TextBox runat="server" ID="stateTextBox"></asp:TextBox><asp:RequiredFieldValidator runat="Server" ID="RequiredFieldValidator1" ErrorMessage="*" ControlToValidate="stateTextBox"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>Zip (length: 9)</td>
                <td><asp:TextBox runat="server" ID="zipTextBox"></asp:TextBox><asp:RequiredFieldValidator runat="Server" ID="s" ErrorMessage="*" ControlToValidate="zipTextBox"></asp:RequiredFieldValidator></td>
            </tr>
            <tr align="right">
                <td colspan="2"> <asp:Button runat="server" ID="addNewStoreButton" Text="Add Store Location" OnClick="addNewStoreButton_Click" />
                
                <p></p>
                <asp:Button runat="server" ID="resetButton" Text="Click To Add Another" OnClick="resetButton_Click" />
                </td>
            </tr>
        </table>
        
        <asp:Literal runat="server" ID="resultsLiteral"></asp:Literal>
    </div>
    </form>
</body>
</html>
